# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.contrib import admin
from models import Articale, UserBean, SimpleType, GoodsInfo, PersonInfo, TypeInfo


class AriticalAdmin(admin.ModelAdmin):
    list_display = ('title', 'content', 'pub_time')
    list_filter = ('pub_time',)
    pass


# Register your models here.
admin.site.register(Articale, AriticalAdmin)
admin.site.register(UserBean)
admin.site.register(SimpleType)
admin.site.register(GoodsInfo)
admin.site.register(PersonInfo)
admin.site.register(TypeInfo)
